package com.rfid.project.model;

import javax.persistence.*;

import biz.core.IdEntity;

@Entity
public class People extends IdEntity {

	private String name;

	private String personalTel;

	@ManyToOne
	@JoinColumn(name = "DepartmentID")
	private Department department;

	private String gender;

	private String officeTel;

	private String remark;

	@ManyToOne
	@JoinColumn(name = "PositionID")
	private Position position;

	@ManyToOne
	@JoinColumn(name = "TechnicalTitleID")
	private TechnicalTitle technicalTitle;

	private String username;

	private String password;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPersonalTel() {
		return personalTel;
	}

	public void setPersonalTel(String personalTel) {
		this.personalTel = personalTel;
	}

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getOfficeTel() {
		return officeTel;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Position getPosition() {
		return position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public TechnicalTitle getTechnicalTitle() {
		return technicalTitle;
	}

	public void setTechnicalTitle(TechnicalTitle technicalTitle) {
		this.technicalTitle = technicalTitle;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
